package NGUYENVANDOAN.JDBC_DEMO.RETURNVALUES;

import java.sql.Connection;
import java.sql.SQLException;

public class CONTROLLERS {
    private MODELS m_objModels = null;
    private Connection m_objConnection= null;

    public CONTROLLERS(Connection objConnection) {
        m_objConnection = objConnection;
        m_objModels = new MODELS(objConnection);
    }
    
    public boolean CheckUserInfo(String userName, String passWord) 
            throws SQLException{
        return m_objModels.CheckUser(userName, passWord);
    }
}
